<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>示例11</title>
</head>
<body>
    <script>
        const set1 = new Set();
        set1.add(6)
        set1.add(7)
        set1.add(3)
        // console.log(set1)
        // console.log(set1.size)
        // set1.delete(7)
        // console.log(set1)
        console.log(set1.has(6))
        console.log(set1.has(9))
        set1.clear()
        console.log(set1)
    </script>
</body>
</html>